package com.hospital.workstation.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.hospital.common.annotation.ExcelDictFormat;
import com.hospital.common.convert.ExcelDictConvert;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;


/**
 * 循证医学相关数据视图对象 hospital_evidence_based_medicine
 *
 * @author hospital
 * @date 2023-03-20
 */
@Data
@ExcelIgnoreUnannotated
public class EvidenceBasedMedicineVo {

    private static final long serialVersionUID = 1L;

    /**
     * 循证医学ID
     */
    @ExcelProperty(value = "循证医学ID")
    private Long id;

    /**
     * 循证医学数据
     */
    @ExcelProperty(value = "循证医学数据")
    private String evidenceBasedContent;

    /**
     * 循证类别（1肝肾 2瘫痪 3腰痛 4静脉曲张 5慢性中毒 6肝病）
     */
    @ExcelProperty(value = "循证类别", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=肝肾,2=瘫痪,3=腰痛,4=静脉曲张,5=慢性中毒,6=肝病")
    private String evidenceCategory;

    /**
     * 循证类别标签
     */
    private String evidenceCategoryStr;

    /**
     * 附件ID
     */
    @ExcelProperty(value = "附件ID")
    private Long ossId;

    /**
     * 附件地址
     */
    @ExcelProperty(value = "附件地址")
    private String ossUrl;

    /**
     * 创建人
     */
    private String createBy;

    /**
     * 创建时间
     */
    private Date createTime;
}
